import Layout from '@/layout/Index.vue';

export default {
    path: '/tools',
    name: 'tools',
    component: Layout,
    meta: {
        title: '工具',
        icon: '#el-icon-grid',
        // parentId: -1
    },
    children: [
        {
            path: '/gen',
            component: () => import('@/views/system/gen/CodeGen.vue'),
            name: 'gen',
            meta: {
                title: '代码生成',
                icon: '#el-icon-grid',
                roles: ['sys:code']
            }
        },
        {
            path: '/cron',
            component: () => import('@/views/system/cron/CronTriggersList.vue'),
            name: 'cron',
            meta: {
                title: '定时器管理',
                icon: '#el-icon-grid',
                roles: ['sys:cron']
            }
        },
    ]
}